PMove (short cHandle, long xyLocation);
This constructor is used for moving diagonally using a corner handle or the center of the objectshort cHandle;
Handle to drag when moving object:Side handles:
kEdgeLeft
kEdgeRight
kEdgeTop
kEdgeBottomlong xyLocation;
This represents the x coordinate in twips if kEdgeLeft or kEdgeRight is specified as the handle. It represents the y coordinate if kEdgeTop or kEdgeBottom is specified.
PMove(short cHandle, long xLocation, long yLocation);
Layout view only. Use the PMove command only in layout view.short cHandle;
Center of object:
kEdgeCenterCorner handles:
kEdgeLeftTop
kEdgeLeftBottom
kEdgeRightTop
kEdgeRightBottomlong xLocation;
x coordinate in twips to align specified handle to.long yLocation;
y coordinate in twips to align specified handle to.
Moving lines. When moving a line, the only valid values for cHandle are:
cHandle for transformed objects. If the selected object has already been skewed, rotated, or reflected, cHandle should correspond to the handle before the object was transformed. For example, leftTop always refers to the original left-top handle of an object, not the handle that is currently the left-most top handle.
Examples. The following example selects an object and moves it so its left edge aligns to 100.
PSelect(1);
PMove(kEdgeLeft, 100);
The following example selects an object and moves it to a location where
its top-left corner aligns to 0, 0.
PSelect(1);
PMove(kEdgeLeftTop, 0, 0);
Adobe PageMaker 6.5 Help > Commands > Window > Control Palette
Comments or suggestions? Contact Adobe Developer Support